package com.cinc.ebc.sd.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.common.aspect.annotation.Dict;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.UnsupportedEncodingException;

/**
 * @Description: 装车明细
 * @Author: jeecg-boot
 * @Date:   2022-09-25
 * @Version: V1.0
 */
@ApiModel(value="sd_dispatch_load_detail对象", description="装车明细")
@Data
@TableName("sd_dispatch_load_detail")
public class SdDispatchLoadDetail implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**主表ID*/
    @ApiModelProperty(value = "主表ID")
    private java.lang.String mainId;
	/**物料ID*/
	@Excel(name = "物料ID", width = 15)
    @ApiModelProperty(value = "物料ID")
    private java.lang.String materialId;
	/**物料编号*/
	@Excel(name = "物料编号", width = 15)
    @ApiModelProperty(value = "物料编号")
    private java.lang.String materialNo;
	/**物料描述*/
	@Excel(name = "物料描述", width = 15)
    @ApiModelProperty(value = "物料描述")
    private java.lang.String materialDesc;
	/**数量*/
	@Excel(name = "数量", width = 15)
    @ApiModelProperty(value = "数量")
    private java.math.BigDecimal qty;
	/**单位*/
	@Excel(name = "单位", width = 15, dictTable = "mdm_unit", dicText = "unit_name", dicCode = "unit_code")
    @ApiModelProperty(value = "单位")
    private java.lang.String unit;
	/**含税单价*/
	@Excel(name = "含税单价", width = 15)
    @ApiModelProperty(value = "含税单价")
    private java.math.BigDecimal unitPrice;
	/**含税金额*/
	@Excel(name = "含税金额", width = 15)
    @ApiModelProperty(value = "含税金额")
    private java.math.BigDecimal sumPrice;
    /**装车状态*/
    @Excel(name = "装车状态", width = 15, dicCode = "sd_dispatch_load_detail_status")
    @Dict(dicCode = "sd_dispatch_load_detail_status")
    @ApiModelProperty(value = "装车状态")
    private java.lang.String status;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remark;
	/**销售明细ID*/
	@Excel(name = "销售明细ID", width = 15)
    @ApiModelProperty(value = "销售明细ID")
    private java.lang.String salesDetailId;
	/**销售单号*/
	@Excel(name = "销售单号", width = 15)
    @ApiModelProperty(value = "销售单号")
    private java.lang.String salesOrderNo;
	/**销售行号*/
	@Excel(name = "销售行号", width = 15)
    @ApiModelProperty(value = "销售行号")
    private java.lang.Integer salesDetailLineNo;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**租户ID*/
	@Excel(name = "租户ID", width = 15)
    @ApiModelProperty(value = "租户ID")
    private java.lang.String tenantId;
	/**交货数量*/
	@Excel(name = "交货数量", width = 15)
    @ApiModelProperty(value = "交货数量")
    private java.math.BigDecimal deliveryQty;
	/**发货明细ID*/
	@Excel(name = "发货明细ID", width = 15)
    @ApiModelProperty(value = "发货明细ID")
    private java.lang.String dispatchDetailId;
	/**发货通知单号*/
	@Excel(name = "发货通知单号", width = 15)
    @ApiModelProperty(value = "发货通知单号")
    private java.lang.String noticeNo;
	/**发货行号*/
	@Excel(name = "发货行号", width = 15)
    @ApiModelProperty(value = "发货行号")
    private java.lang.Integer dispatchDetailLineNo;
	/**库房*/
	@Excel(name = "库房", width = 15, dictTable = "mdm_warehouse", dicText = "warehouse_name", dicCode = "id")
    @ApiModelProperty(value = "库房")
    private java.lang.String warehouseId;
	/**库位*/
	@Excel(name = "库位", width = 15, dictTable = "mdm_storage_location", dicText = "location_name", dicCode = "id")
    @ApiModelProperty(value = "库位")
    private java.lang.String storageLocationId;
	/**批次*/
	@Excel(name = "批次", width = 15)
    @ApiModelProperty(value = "批次")
    private java.lang.String batchNo;
    /**库存ID*/
    @Excel(name = "库存ID", width = 15)
    @ApiModelProperty(value = "库存ID")
    private java.lang.String materialStockId;
}
